import { userPostJson } from '@/api/apiTool'

//发表一级评论
export function publishLvl1TagComment(data, success, showMsg = false) {
    let url = "/front/Comment/publishLvl1TagComment"
    userPostJson(url, data, success, showMsg)
}

//获取评论列表【1级】
export function getCommentList(data, success, showMsg = false) {
    let url = "/front/Comment/getCommentList"
    userPostJson(url, data, success, showMsg)
}

//删除评论
export function deleteTagComment(data, success, showMsg = false) {
    let url = "/front/Comment/deleteTagComment"
    userPostJson(url, data, success, showMsg)
}

//回复评论
export function replyTagComment(data, success, showMsg = false) {
    let url = "/front/Comment/replyTagComment"
    userPostJson(url, data, success, showMsg)
}